<template>
  <div id="app">
    <style-module></style-module>
    <div class="main-content">
      <va-menu></va-menu>
      <div>
        <router-view/>
      </div>
    </div>
  </div>
</template>

<script>
  import VaMenu from '../src/menu/VaMenu.vue'
  import StyleModule from '../src/StyleModule.vue'
  export default {
    name: 'app',
    components: {StyleModule, VaMenu}
  }
</script>

<style lang="stylus">
  html,body,#app{
    padding: 0;
    margin: 0;
    height: 100%;
  }
  #app {
    font-family: 'Avenir', Helvetica, Arial, sans-serif;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-align: center;
    color: #2c3e50;
  }
  .main-content{
    display: flex;
    height: 100%;
    .va-menu{
      width: 320px;
    }
    >div:last-child{
      flex: 1;
    }
  }
</style>
